package com.dhcc.sdc.cdss.dao;

import java.util.List;
import java.util.Map;

import com.dhcc.sdc.cdss.entity.SdcCdssLabMatchEntity;
import org.apache.ibatis.annotations.Param;
import com.dhcc.core.framework.base.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;


/**
 *
 *
 * @ClassName: SdcCdssLabMatchMapper
 * @Description: TODO
 * @author zhangdc
 * @date 2022-06-23 15:17:40
 */
public interface SdcCdssLabMatchMapper extends BaseMapper<SdcCdssLabMatchEntity> {

    List<SdcCdssLabMatchEntity> list(@Param("map")Map<String, Object> map);
    List<SdcCdssLabMatchEntity> page(@Param("page") Page<SdcCdssLabMatchEntity> page,@Param("map")Map<String, Object> map);

    List<Long> compareByRegexp(@Param("filterTxt") String filterTxt, @Param("keywordAndTxt") String keywordAndTxt, @Param("keywordOrTxt") String keywordOrTxt);

    void insertBatch(@Param("cdssLabMatchEntities") List<SdcCdssLabMatchEntity> cdssLabMatchEntities);

    List<Long> selectMatchLabOrderIds(@Param("map") Map<String, Object> params);

    List<Long> selectMatchOrdmastIds(@Param("map") Map<String, Object> params);

    List<Long> compareOrderByRegexp(@Param("filterTxt")String filterTxt, @Param("keywordAndTxt")String keywordAndTxt, @Param("keywordOrTxt")String keywordOrTxt, @Param("busOrderCateId")Long busOrderCateId);
}
